export const cssKeyToChinese = (key) => {
  const o = {
    x: '左边距',
    y: '上边距',
    width: '宽度',
    height: '宽度',
    backgroundColor: '背景颜色'
  }
  return o[key] ? o[key] : key
}

export const pxList = ['width', 'height', 'lineHeight', 'borderRadius']
export const switchList = [{ name: 'fontWeight', value: ['normal', 'bold'] }]